<!-- src/App.vue -->
<template>
  <el-config-provider :size="size" :z-index="zIndex">
    <Header/>
    <!-- 路由视图用于显示具体页面内容 -->
    <router-view />
  </el-config-provider>
</template>

<script>
import { defineComponent } from 'vue'
import { ElConfigProvider } from 'element-plus'
import Header from "@components/Header.vue";

export default defineComponent({
  components: {
    Header,
    ElConfigProvider,
  },
  setup() {
    return {
      zIndex: 3000,
      size: 'default',
    }
  },
})

</script>

<style>
.el-header{
  --el-header-padding:0
}
</style>
